package com.baizhi.dao;

import com.baizhi.entity.Food;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodDao {
    void insertFood(Food f);
    void deleteFoodById(Integer id);
    void updateFood(Food f);
    Food selectFoodById(Integer id);
    List<Food> selectFoods(@Param("pageNum") Integer pageNum,@Param("pageSize") Integer pageSize);
}
